package com.xjoyt.pay.master.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xjoyt.pay.abstracts.AbstractService;
import com.xjoyt.pay.dto.PageParam;
import com.xjoyt.pay.dto.PageResult;
import com.xjoyt.pay.master.params.CheckoutPageParam;
import com.xjoyt.pay.master.po.CompanyCheckout;
import com.xjoyt.pay.master.repository.CheckoutRepository;

@Service
public class CheckoutService extends AbstractService {

	@Autowired
	private CheckoutRepository repository;

	public PageResult<CompanyCheckout> loadPage(PageParam<CheckoutPageParam> params) {
		return repository.loadPage(params);
	}

}
